<script type="text/javascript">
    $(function() {
        $.fn.dataGridOptions.formSubFun("#form",'/modules/user/score/goodsCategory/doAppend.html');
    });
</script>
<form id="form"  method="post">
<div class="popForm sForm">
	<div class="formitm">
		<label class="lab">名称：</label>
		<div class="ipt"><input type="text" id="categoryName" name="name" class="easyui-validatebox" data-options="required: true, validType:'maxLength[15]'" /></div>
	</div>
	<div class="formitm">
		<label class="lab">排序：</label>
		<div class="ipt"><input type="text" name="sort" class="easyui-validatebox" onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" data-options="required: true, validType:'numOnly'" maxlength="3" /></div>
	</div>
	<div class="formitm">
		<label class="lab">状态：</label>
		<div class="ipt">
			<select name="status" id="status">
				<option value="0">未启用</option>
				<option value="1">启用</option>
			</select>
		</div>
	</div>
	<div class="formitm">
		<label class="lab">备注：</label>
		<div class="ipt"><textarea name="remark" class="easyui-validatebox" maxlength="128"></textarea></div>
	</div>
</div>
</form>
